<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
	function clickdiv(sender)
	{
		var selected=$(".selected");
		$(selected).removeClass("selected");
		$(selected).addClass("may");
		$(sender).removeClass("may");
		$(sender).addClass("selected");
	}
</script>
<style type="text/css">
.may{ border:solid; 
 margin-top:2px;  
 border-width:1px;
 background:#FFF;
 cursor:pointer; }
 .selected{background:#CFE0F8;
  cursor:pointer;
  border:solid;
  border-width:1px;
  margin-top:2px; 
  border-right-color:#CFE0F8;}
</style>
<div style="float:left">
  <div class="selected" onClick="javascript:clickdiv(this)">somthingmore</div>
  <div class="may" onClick="javascript:clickdiv(this)">somthingmore</div>
  <div class="may" onClick="javascript:clickdiv(this)">somthingmore</div>
  <div class="may" onClick="javascript:clickdiv(this)">somthingmore</div>
  <div class="may" onClick="javascript:clickdiv(this)">somthingmore</div>
  <div class="may" onClick="javascript:clickdiv(this)">somthingmore</div>
  <div class="may" onClick="javascript:clickdiv(this)">somthingmore</div>
  <div class="may" onClick="javascript:clickdiv(this)">somthingmore</div>
  <div class="may" onClick="javascript:clickdiv(this)">somthingmore</div>
  <div class="may" onClick="javascript:clickdiv(this)">somthingmore</div>
  <div class="may" onClick="javascript:clickdiv(this)">somthingmore</div>
</div>
<div style="width:300px;border:solid;border-width:1px;height:400px; background-color:#CFE0F8; margin-top:2px; float:left; border-left-color:#CFE0F8"></div>
